package vip.xiaonuo.auth.modular.login.param;


import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class WeChatServerVerifyParam {
    /** 微信加密签名 */
    @Schema(description = "signature", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "微信加密签名不能为空")
    private String signature;

    /** 时间戳 */
    @Schema(description = "timestamp", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "时间戳不能为空")
    private String timestamp;

    /** 随机数 */
    @Schema(description = "nonce", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "随机数不能为空")
    private String nonce;

    /** 随机数 */
    @Schema(description = "echostr", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "随机字符串不能为空")
    private String echostr;
}
